﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 职位分配
    /// </summary>
    public interface IJobPermissionService
    {
        Task<int> AddJobPermissionAsync(int staffId,string[] title);
        Task<int> EditJobPermissionAsync(int id, int staffId, string[] title);
        Task<int> DeleteJobPermissionAsync(int id);
        Task<List<JobPermissionDto>> QueryJobPermissionAllAsync();
        Task<JobPermissionDto> QueryJobPermissionByIdAsync(int id);
        //Task<List<JobPermissionDto>> GetJobPermissionByNameAsync(string title);
    }
}
